import Mock from 'mockjs2'
import {
    builder,
    getQueryParameters
} from '../util'

const login = () => {
    const body = getBody(options)
  console.log('mock: body', body)
  if (!username.includes(body.username) || !password.includes(body.password)) {
    return builder({ isLogin: true }, '账户或密码错误', 401)
  }
}